package com.campus.course.service;

import com.campus.common.result.Result;
import com.campus.course.dto.entity.Courses;
import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.course.dto.form.UpdateCourseForm;
import com.campus.course.dto.vo.CourseListVO;

import java.util.List;

/**
 * <p>
 * 课程表 服务类
 * </p>
 *
 * @author maojr
 * @since 2024-11-16
 */
public interface ICoursesService extends IService<Courses> {

    List<CourseListVO> selectAllCourses();

    Result searchCourse(String keyWords);

    Result addCourse(Courses course);

    Result updateCourse(UpdateCourseForm updateCourseForm);

    Result deleteCourse(int courseId);

    Result getStuCourse();

    Result teacherGetCourses();

}
